#define _CRT_SECURE_NO_WARNINGS 1
#include"SeqList.h"

void SLTest1()
{
	SL s;
	SeqListInit(&s);
	SeqListPushBack(&s, 1);
	SeqListPushBack(&s, 2);
	SeqListPushBack(&s, 3);
	SeqListPushBack(&s, 4);
	SeqListPushBack(&s, 5);
	SeqListPrint(&s);//1 2 3 4 5
	SeqListPushFront(&s, 0);
	SeqListPrint(&s);//0 1 2 3 4 5
	SeqListPopFront(&s);
	SeqListPrint(&s);//1 2 3 4 5
	SeqListInsert(&s, 3, 100);
	SeqListPrint(&s);//1 2 3 100 4 5
	SeqListErase(&s, 3);
	SeqListPrint(&s);//1 2 3 4 5


}
int main()
{
	SLTest1();
	return 0;
}